package com.kaikai.edu.entity.ao;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author yujiankai
 * @Description 邮件发送AO
 * @date 2022/1/5 10:13
 */
@Data
public class EduEmailSendAO {

    @ApiModelProperty(value = "发送人ID")
    private String userId;

    @NotBlank(message = "发送主题不能为空")
    @ApiModelProperty(value = "发送主题")
    private String subject;

    @NotBlank(message = "发送内容不能为空")
    @ApiModelProperty(value = "发送内容")
    private String cont;

    @NotBlank(message = "接收人信息不能为空")
    @ApiModelProperty(value = "接收人，多个接收人用逗号隔开")
    private String receiver;

}
